package com.training.java.core.statics;

public class CarDemo {

	public static void main(String[] args) {

		Car Honda = new Car("Honda", "Accord", 12345);
		System.out.println("number of cars created = "
				+ Car.getnumberOfCarsCreated());

		Car Toyota = new Car("Toyota", "Camry", 14265);
		System.out.println("number of cars created = "
				+ Car.getnumberOfCarsCreated());

	}

}
